package com.chee.plant.hibernate.object;

import com.chee.plant.hibernate.object.base.BaseBattleLog;

public class BattleLog extends BaseBattleLog {
	private static final long serialVersionUID = 1L;

	/* [CONSTRUCTOR MARKER BEGIN] */
	public BattleLog() {
		super();
	}

	/**
	 * Constructor for primary key
	 */
	public BattleLog(java.lang.Integer id) {
		super(id);
	}

	/**
	 * Constructor for required fields
	 */
	public BattleLog(java.lang.Integer id, java.lang.Integer battleId,
			java.lang.Integer offenserType, java.lang.Integer offenserId,
			java.lang.Integer defenserType, java.lang.Integer defenserId,
			java.lang.Integer skillId, java.lang.Integer damage,
			java.lang.Integer defenserDead) {

		super(id, battleId, offenserType, offenserId, defenserType, defenserId,
				skillId, damage, defenserDead);
	}

	/* [CONSTRUCTOR MARKER END] */
	public void setDefaults() {
		this.setBattleId(0);
		this.setDamage(0);
		this.setDefenserDead(0);
		this.setDefenserId(0);
		this.setDefenserType(0);
		this.setId(0);
		this.setOffenserId(0);
		this.setOffenserType(0);
		this.setSkillId(0);
	}

}